ahrefs\AhrefsSeo_Vendor\phpseclib\Crypt\RSA D

Total Complexity 394
Dependencies 11
Dependents 6
Total lines 2,783
Lines of code 1,563
Logical lines of code 1,210
Comment lines 1,110
Methods 60
Properties 24

Methods 60

Method Rating Maintainability Complexity Lines of code
_parseKey()
D
3
109 438
_convertPrivateKey()
C
28
22 129
loadKey()
C
33 23 95
createKey()
B
33 21 92
__construct()
A
41 15 50
_exponentiate()
A
42 12 52
setPublicKey()
A
50 10 30
_emsa_pkcs1_v1_5_encode()
A
47 9 34
_start_element_handler()
A
51 9 28
_rsassa_pkcs1_v1_5_verify()
A
52 9 24
encrypt()
A
49 8 33
_rsaes_oaep_decrypt()
A
46 7 37
_emsa_pkcs1_v1_5_encode_without_null()
A
49 7 31
_emsa_pss_verify()
S
49 7 28
setHash()
S
57 7 17
setMGFHash()
S
58 7 15
decrypt()
S
51 6 26
_rsaes_pkcs1_v1_5_encrypt()
S
51 6 24
_rsaes_pkcs1_v1_5_decrypt()
S
52 6 24
_convertPublicKey()
S
48 5 29
getPublicKeyFingerprint()
S
54 5 18
_rsassa_pss_verify()
S
56 4 19
_equals()
S
59 4 14
setPrivateKey()
S
60 4 13
sign()
S
63 4 11
verify()
S
63 4 11
_emsa_pss_encode()
S
53 3 19
_rsaes_oaep_encrypt()
S
54 2 20
_rsavp1()
S
68 3 7
_rsasp1()
S
68 3 7
_rsadp()
S
68 3 7
_rsaep()
S
68 3 7
_extractBER()
S
66 3 7
getPublicKey()
S
64 3 10
_data_handler()
S
70 3 6
_getPrivatePublicKey()
S
64 3 10
__toString()
S
67 3 8
_generateMinMax()
S
59 2 13
_rsassa_pkcs1_v1_5_sign()
S
63 2 11
getPrivateKey()
S
64 2 10
_encodeLength()
S
67 2 7
_decodeLength()
S
63 2 9
_mgf1()
S
64 2 9
_stop_element_handler()
S
69 2 6
getSize()
S
78 2 3
_i2osp()
S
66 2 8
setPassword()
S
82 1 3
getComment()
S
83 1 3
setSignatureMode()
S
82 1 3
setComment()
S
82 1 3
_blind()
S
66 1 8
setEncryptionMode()
S
82 1 3
_rsassa_pss_sign()
S
68 1 7
_string_shift()
S
72 1 5
_raw_encrypt()
S
73 1 5
setPrivateKeyFormat()
S
82 1 3
setPublicKeyFormat()
S
82 1 3
setSaltLength()
S
82 1 3
_os2ip()
S
77 1 3
__clone()
S
72 1 5